package com.jobchecks;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * ping服务 启动程序
 * 
 * @author huangjinjia
 */
@SpringBootApplication
@MapperScan("com.jobchecks.dao")
@ComponentScan(basePackages = {"com.jobchecks.common", "com.jobchecks.ping"})
@EnableDubbo(scanBasePackages = "com.jobchecks.ping")
public class PingApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(PingApplication.class, args);
    }
}